home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
batch
/
makepoll.zip
/
MAKEPOLX.BAT
< prev
Wrap
DOS Batch File
|
1990-09-13
|
2KB
|
46 lines
::
:: MAKEPOLX.BAT - Stan Bimson - 09/13/90 - 1:116/32
:: - Example batch file to poll your neighbors, Menu driven
:: - Can be assigned to a FKey in your Binkley.Bat
:: - Or can be called from outside Binkley at the command prompt
::
:: - This version doesn't require ANSI.SYS be loaded
:: - Uses Norton Utilities program ASK to get user's input
:: If you don't have ASK there are several shareware programs
:: do the same or similar operations.
:: - You also have to have the great utility PLEASE
::
:: - Additional information: I have modified my COMMAND.COM so
:: 1) put this line at the start of this batch file
:: @echo off rem for DOS 3.3+
:: echo off rem DOS lower than 3.3
:: 2) every place I just have echo<sp><sp> put
:: echo<sp><atl255> which looks like:
:: echo
::
:rerun
:: -------------- do menu screen --------------
cls
echo
echo Make a poll (ESC when done) for the following:
echo
echo Jack Smith - The Programmer's Corner - 1:116/4000
echo
echo Marge Clark - The Homestead - 1:116/3000
echo
echo Kevin - The Dawg Byte - 1:116/29
echo
:: -------------- get user's input --------------
:: Errorlevel returned codes -> 1234 for menu choices
c:\dos\ask "Enter choice : ", jmk
:: -------------- test errorlevels --------------
if errorlevel 4 goto eof
if errorlevel 3 c:\bink\util\please poll 116/29 now
if errorlevel 2 c:\bink\util\please poll 116/3000 now
if errorlevel 1 c:\bink\util\please poll 116/4000 now
goto rerun
:eof
echo
echo